package com.woniu.model.mallSystem.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * <p>
 * 
 * </p>
 *
 * @author Lzj
 * @since 2023-10-19
 */
@Getter
@Setter
  @TableName("t_amount_info")
@ApiModel(value = "AmountInfo对象", description = "")
public class AmountInfo implements Serializable {

    private static final long serialVersionUID = 1L;

      @ApiModelProperty("费用信息表主键")
        @TableId(value = "id", type = IdType.AUTO)
      private Long id;

      @ApiModelProperty("商品合计")
      private BigDecimal totalPrice;

      @ApiModelProperty("运费")
      private BigDecimal freight;

      @ApiModelProperty("优惠券")
      private BigDecimal coupon;

      @ApiModelProperty("金币抵扣")
      private BigDecimal goldCredit;

      @ApiModelProperty("活动优惠")
      private BigDecimal eventDiscount;

      @ApiModelProperty("折扣金额")
      private BigDecimal discountAmount;

      @ApiModelProperty("订单总金额")
      private BigDecimal totalOrderAmount;

      @ApiModelProperty("应付实际金额")
      private BigDecimal actualAmount;


}
